package com.aptemo.webetek.client.commands.impl;

import java.util.ArrayList;

import com.aptemo.webetek.client.commands.Action;
import com.aptemo.webetek.client.enums.EnumBetType;
import com.aptemo.webetek.shared.BetBean;

public class PlaceBetAction implements Action<BetBean>
{

	/**
	 * 
	 */
	private static final long	serialVersionUID	= -1160729112923209957L;
	private ArrayList<String>	pickKeys;
	private EnumBetType			betType				= EnumBetType.SINGLE;
	private double				amount;
	private String				teamId;

	protected PlaceBetAction()
	{
	}

	public PlaceBetAction(String teamId, double amount, ArrayList<String> pickKeys)
	{
		this.teamId = teamId;
		this.setAmount(amount);
		this.pickKeys = pickKeys;
	}

	private void setAmount(double amount)
	{
		this.amount = amount;
	}

	public ArrayList<String> getPickKeys()
	{
		return pickKeys;
	}

	public EnumBetType getBetType()
	{
		return betType;
	}

	public double getAmount()
	{
		return amount;
	}

	public void setPickKeys(ArrayList<String> picks)
	{
		pickKeys = picks;
	}

	public String getTeamId()
	{
		return this.teamId;
	}

}
